package com.spring.annotion;

import java.lang.annotation.*;

/**
 * @Description:
 * @Auther: zhibo
 * @Date: 2018/8/23 17:41
 */
@Target({
        ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE
})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyAutowired {
    boolean required() default true;
}
